package com.wjm.api.FileRead;

import java.io.*;

/**
 * Data:2022年07月10日
 * Author:wjm
 * Content:
 */
public class Text {
    public static void main(String[] args) throws IOException {
        BufferedWriter writer = new BufferedWriter(new FileWriter("D:\\学科\\大数据采集\\《大数据应用技术》复习题.doc"));
        BufferedReader reader = new BufferedReader(new FileReader("D:\\学科\\大数据采集\\《大数据应用技术》复习题.pdf"));

        int len = -1;
        char[] chars = new char[100];
        while ((len = reader.read(chars)) != -1){
            writer.write(new String(chars,0,len));
        }
        reader.close();
        writer.close();
    }
}
